package main

import "fmt"

func main() {
	s := Student{}
	s.age = 11
	s.name = "tom"
	fmt.Println(s)
	fmt.Println(s.Human)
}

type Human struct {
	name string
	age  int
}

type Student struct {
	Human //这个是继承，不要写字段名
	scope int
}
